<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" %>
<%@ page import="javax.servlet.http.*" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>菜单管理</title>
<link rel="stylesheet" type="text/css" href="css/show_class.css" />
</head>
<%
Object name = request.getSession().getAttribute("u_admin");
out.println(session.getAttribute("u_admin"));
out.println(name);

if(name != null || name != ""){
	
}

%>
<body>
	<!-- head开始 -->
	<div class="head">
		<div class="logo fl">
			<img src="images/logo.gif" />
		</div>
		<div class="welcome fl">管理员：sa 您好，感谢登录使用！</div>
		<input class="fr" type="image" src="images/out.gif" name="退出" />
	</div>
	<!-- head结束 -->

	<!-- content开始 -->
	<div>
		<div class="menuLeft fl">
			<script type="text/javascript"
				src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
			<script type="text/javascript">
            $(document).ready(function(){
                $(".menu1").click(function(){
                    $(this).next("div").slideToggle("slow").siblings(".menu2:visible").slideUp("slow");
                }) ;
            });
        </script>

			<style type="text/css">
.menu_main {
	width: 160px;
}

.menu_main_left {
	width: 150px;
}

.menu1 {
	padding-left: 30px;
	height: 40px;
	line-height: 40px;
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	position: relative;
	border-bottom: #ccc 1px dotted;
}

.menu2 {
	display: none;
	cursor: pointer;
	font-size: 13px;
}

.menu2 ul {
	margin: 0;
	padding: 0;
}

.menu2 li {
	height: 30px;
	line-height: 30px;
	list-style: none;
	border-bottom: #ccc 1px dotted;
	text-align: center;
}
</style>

			<div class="menu_main">
				<!--左边导航开始-->
				<div class="menu_main_left">
					<div class="menu1">菜单管理</div>
					<div class="menu2">
						<ul>
							<li><a href="../MenuServlet?method=ToView&toview=add_food">添加新菜品</a></li>
							<li><a href="../MenuServlet?method=ToView&toview=show_food">菜单信息列表</a></li>
						</ul>
					</div>
					<div class="menu1">菜单类别管理</div>
					<div class="menu2">
						<ul>
							<li><a href="../MenuServlet?method=ToView&toview=add_class">添加新类别</a></li>
							<li><a href="../MenuServlet?method=ToView&toview=show_class">类别信息列表</a></li>
						</ul>
					</div>
					<div class="menu1">公告信息管理</div>
					<div class="menu2">
						<ul>
							<li><a href="../MenuServlet?method=ToView&toview=add_notice">添加新公告</a></li>
							<li><a
								href="../MenuServlet?method=ToView&toview=show_notice">公告信息列表</a></li>
						</ul>
					</div>
					<div class="menu1">销售订单管理</div>
					<div class="menu2">
						<ul>
							<li><a href="../MenuServlet?method=ToView&toview=show_order">订单信息列表</a></li>
							<li><a
								href="../MenuServlet?method=ToView&toview=show_search_order">销售订单查询</a></li>
							<li><a
								href="../MenuServlet?method=ToView&toview=show_today_order">今日销售统计</a></li>
						</ul>
					</div>
					<div class="menu1">系统用户管理</div>
					<div class="menu2">
						<ul>
							<li><a href="../MenuServlet?method=ToView&toview=show_admin">管理员用户</a></li>
							<li><a href="../MenuServlet?method=ToView&toview=show_user">会员管理</a></li>

						</ul>
					</div>
					<div class="menu1">
						<a href="../MenuServlet?method=loginout">注销/退出</a>
					</div>
					<div class="menu2"></div>
				</div>
				<!--左边导航结束-->
			</div>

		</div>

		<div class="info fr">
			<div class="infoTop">类别信息</div>
			<table cellspacing="0">
				<tr>
					<th colspan="4">类别信息列表</th>
				</tr>
				<tr>
					<th>类别ID</th>
					<th>类别名称</th>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>1</td>
					<td>凉拌菜</td>
					<td><a href="#">修改</a></td>
					<td><a href="#">删除</a></td>
				</tr>
				<tr>
					<td>2</td>
					<td>炒菜</td>
					<td><a href="#">修改</a></td>
					<td><a href="#">删除</a></td>
				</tr>
				<tr>
					<td>6</td>
					<td>炒菜</td>
					<td><a href="#">修改</a></td>
					<td><a href="#">删除</a></td>
				</tr>
				<tr>
					<td>10</td>
					<td>蒸菜</td>
					<td><a href="#">修改</a></td>
					<td><a href="#">删除</a></td>
				</tr>
				<tr>
					<td>11</td>
					<td>川菜</td>
					<td><a href="#">修改</a></td>
					<td><a href="#">删除</a></td>
				</tr>
			</table>
		</div>
		<!-- content结束 -->
	</div>


</body>
</html>